/**
 * @filename:SysOperLog 2022年1月27日
 * @project Wonder wallet Framework  V1.0
 * Copyright(c) 2020 LuZhongren Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.admin.request;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import com.wonder.common.constants.Constants;
import java.util.Date;

/**   
 * @Description:TODO(操作日志管理检索条件实体类)
 * 
 * @version: V1.0
 * @author: LuZhongren
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SysOperLogRequest implements Serializable {

	private static final long serialVersionUID = 16434365535601L;
	
	@ApiModelProperty(value = "当前页")
	private int pageNum=(int) Constants.DEFAULT_PAGE;
	
	@ApiModelProperty(value = "每页记录数")
	private int pageSize= (int) Constants.DEFAULT_LIMIT;
	

	@ApiModelProperty(name = "operId" , value = "日志主键")
	private Long operId;

	@ApiModelProperty(name = "title" , value = "模块标题")
	private String title;

	@ApiModelProperty(name = "businessType" , value = "业务类型（0其它 1新增 2修改 3删除）")
	private Integer businessType;

	@ApiModelProperty(name = "method" , value = "方法名称")
	private String method;

	@ApiModelProperty(name = "requestMethod" , value = "请求方式")
	private String requestMethod;

	@ApiModelProperty(name = "operatorType" , value = "操作类别（0其它 1后台用户 2手机端用户）")
	private Integer operatorType;

	@ApiModelProperty(name = "operName" , value = "操作人员")
	private String operName;

	@ApiModelProperty(name = "deptName" , value = "部门名称")
	private String deptName;

	@ApiModelProperty(name = "operUrl" , value = "请求URL")
	private String operUrl;

	@ApiModelProperty(name = "operIp" , value = "主机地址")
	private String operIp;

	@ApiModelProperty(name = "operLocation" , value = "操作地点")
	private String operLocation;

	@ApiModelProperty(name = "operParam" , value = "请求参数")
	private String operParam;

	@ApiModelProperty(name = "jsonResult" , value = "返回参数")
	private String jsonResult;

	@ApiModelProperty(name = "status" , value = "操作状态（0正常 1异常）")
	private Integer status;

	@ApiModelProperty(name = "errorMsg" , value = "错误消息")
	private String errorMsg;
	
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@ApiModelProperty(name = "operTime" , value = "操作时间")
	private Date operTime;
	
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@ApiModelProperty(name = "operTime" , value = "开始操作时间")
	private Date beginOperTime;
	
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@ApiModelProperty(name = "operTime" , value = "结束操作时间")
	private Date endOperTime;

}